package com.guiji.quartz.task;

import com.guiji.quartz.domain.Aninews;
import com.guiji.quartz.domain.ChinaOrgBusiness;
import com.guiji.quartz.domain.Techcircle;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: wangxw
 * @date 2021/11/12 16:34
 */
@Component("chinaOrgBusinessTask")
public class ChinaOrgBusinessTask {

	private static final Logger log = LoggerFactory.getLogger(ChinaOrgBusinessTask.class);

	public void chinaOrgBusinessTask() throws Exception {
		Long startTime = System.currentTimeMillis();
		ChinaOrgBusiness chinaOrgBusiness = new ChinaOrgBusiness();
		try {
			chinaOrgBusiness.mainMethod();
		} catch (Exception e) {
		} finally {
			log.info("ChinaOrgBusinessTask-end-:{}", System.currentTimeMillis() - startTime);
		}

	}
}

